<template>
  <div class="midleComponent">
    <div class="title">中层组件</div>
    <bottomComponent></bottomComponent>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import bottomComponent from "./bottomComponent.vue";
export default defineComponent({
  components: {
    bottomComponent,
  },
  props: {
    position: {
      type: String,
      required: true,
      default: "",
    },
    month: {
      type: String,
      required: true,
      default: "",
    },
  },
  emits: [],
  data() {},
  methods: {},
});
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.midleComponent {
  background: $myYellowColor;
  width: 400px;
  height: 400px;
  margin-top: 60px;
  .title {
    color: #000;
    text-align: left;
  }
}
</style>
